package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试考题对象 exam_question
 * 
 * @author ba7lgj
 * @date 2024-04-03
 */
public class ExamQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题ID */
    private Long questionId;

    /** 问题内容 */
    @Excel(name = "问题内容")
    private String questionContent;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String questionType;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String image;

    /** 考试ID */
    @Excel(name = "考试ID")
    private Long examId;

    /** 排序 */
    @Excel(name = "排序")
    private Long order;

    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setQuestionContent(String questionContent) 
    {
        this.questionContent = questionContent;
    }

    public String getQuestionContent() 
    {
        return questionContent;
    }
    public void setQuestionType(String questionType) 
    {
        this.questionType = questionType;
    }

    public String getQuestionType() 
    {
        return questionType;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setExamId(Long examId) 
    {
        this.examId = examId;
    }

    public Long getExamId() 
    {
        return examId;
    }
    public void setOrder(Long order) 
    {
        this.order = order;
    }

    public Long getOrder() 
    {
        return order;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("questionId", getQuestionId())
            .append("questionContent", getQuestionContent())
            .append("questionType", getQuestionType())
            .append("image", getImage())
            .append("examId", getExamId())
            .append("order", getOrder())
            .toString();
    }
}
